xlat lib: Remove out-dated comment
authorSandrine Bailleux <[email protected]>
Tue, 31 May 2016 15:47:29 +0000 (16:47 +0100)
committerSandrine Bailleux <[email protected]>
Thu, 2 Jun 2016 09:36:47 +0000 (10:36 +0100)
As of commit e1ea9290bb, if the attributes of an inner memory region
are different than the outer region, new page tables are generated
regardless of how "restrictive" they are. This patch removes an
out-dated comment still referring to the old priority system based
on which attributes were more restrictive.

Change-Id: Ie7fc1629c90ea91fe50315145f6de2f3995e5e00

include/lib/xlat_tables.h

index abe46ed9d9e527ff15fc8220387acdab42f657aa..7d57521b7e6b42f458a2908f16e0704b018b325e 100644 (file)
@@ -150,12 +150,6 @@ typedef enum  {
        MT_MEMORY,
        /* Values up to 7 are reserved to add new memory types in the future */
 
-       /*
-        * The following values are organised so that a clear bit gives a more
-        * restrictive mapping than a set bit, that way a bitwise-and of two
-        * sets of attributes will never give an attribute which has greater
-        * access rights than any of the original attributes.
-        */
        MT_RO           = 0 << MT_PERM_SHIFT,
        MT_RW           = 1 << MT_PERM_SHIFT,